$palette-colors: (
  'primary-1': #f1edfa,
  'primary-2': #d1c4ef,
  'primary-3': #baa7e7,
  'primary-4': #a38ae0,
  'primary-5': #8c6dd8,
  'primary-6': #754fd0,
  'primary-7': #663ccb,
  'primary-8': #512da8,
  'primary-9': #3d227e,
  'primary-10': #201243,
  'neutral-0': #fff,
  'neutral-1': #eff0f2,
  'neutral-2': #dfe1e6,
  'neutral-3': #cfd3d9,
  'neutral-4': #b0b5bf,
  'neutral-5': #717a8c,
  'neutral-6': #575e6d,
  'neutral-7': #4c535f,
  'neutral-8': #3f444e,
  'neutral-9': #272a31,
  'neutral-10': #141518,
  'success-1': #ecf8ed,
  'success-2': #c6eac8,
  'success-3': #a0dca3,
  'success-4': #67c76b,
  'success-5': #43b649,
  'success-6': #2e7e33,
  'success-7': #29712d,
  'success-8': #256428,
  'success-9': #173f19,
  'success-10': #0e260f,
  'info-1': #edf5fd,
  'info-2': #c6dff8,
  'info-3': #a0caf4,
  'info-4': #7bb5ef,
  'info-5': #4296e8,
  'info-6': #186fc4,
  'info-7': #1563b0,
  'info-8': #115393,
  'info-9': #0c3b69,
  'info-10': #08233f,
  'warning-1': #fef5d7,
  'warning-2': #fde59c,
  'warning-3': #fcda74,
  'warning-4': #fbcb39,
  'warning-5': #f2b705,
  'warning-6': #8f6c06,
  'warning-7': #7e5f03,
  'warning-8': #6b5103,
  'warning-9': #493702,
  'warning-10': #302501,
  'danger-1': #fdeae9,
  'danger-2': #fcd4d4,
  'danger-3': #fabfbe,
  'danger-4': #f79493,
  'danger-5': #f46968,
  'danger-6': #de2625,
  'danger-7': #cb100f,
  'danger-8': #9c0c0b,
  'danger-9': #620807,
  'danger-10': #3b0504,
);

@function palette-color($key) {
  @return map-get($palette-colors, $key);
}

@function palette-color-level($color-name, $level) {
  $color: palette-color($color-name + '-' + $level);
  @return $color;
}
